import axios from "axios";

export const get = (url) => {
  return new Promise((resolve, reject) => {
    axios.get(url)
      .then(res => {
        resolve(res)
      })
      .catch(error => {
        reject(error)
      })
  })
}